/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-20 Time: 23:47
 */

import {Action} from "../../configuration/ActionCreator"
import {requestOrderEventGetinfo,requestOrderQmsRepairGetinfo} from "../../request/HousekeeperRequest"

export const OrderEventGetinfo = 'OrderEventGetinfo';
export const orderEventGetinfo = (str) =>  {
    let action = Action(OrderEventGetinfo);
    return dispatch => dispatch(requestOrderEventGetinfo(action,str))
}

export const OrderQmsRepairGetinfo = 'OrderQmsRepairGetinfo';
export const orderQmsRepairGetinfo = (str) =>  {
    let action = Action(OrderQmsRepairGetinfo);
    return dispatch => dispatch(requestOrderQmsRepairGetinfo(action,str))
}



